<!DOCTYPE html>
<html lang="en">
<link rel="stylesheet" href="/css/main/table.css"/>
<link rel="stylesheet" href="/css/main/page.css"/>
<link rel="stylesheet" href="/css/common/list.css"/>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<script type="text/javascript" src="${ctx}/js/page.js"></script>
<script type="text/javascript" src="${ctx}/js/project/projectComplete.js"></script>
<script type="text/javascript" src="${ctx}/plugin/layer-v1.9.2/layer/layer.js"></script>

<body>
<div>
    <div class="top-title">
        <span>项目完工 / Project Completion</span>

    </div>
    <table id="dynamic-table" class="table table-striped table-bordered table-hover dataTable no-footer" role="grid"
           aria-describedby="dynamic-table_info">
        <thead>
        <tr role="row" style=" background: #CDD9D9;" class="tableHead">
        <#--<th width="100px"></th>-->
            <th width="150px">工程名称</th>
            <th width="200px">工程类型</th>
            <th width="150px">电压类型</th>
            <th width="150px">开工人</th>
            <th width="150px">开工时间</th>
            <th width="150px">操作</th>
        </tr>
        </thead>

        <tbody>
        <#if projectList??>
            <#list projectList as project>
            <tr role="row" class="odd">
            <#--<th width="100px"><input type="checkbox"></th>-->
                <th width="150px">${project.caption!""}</th>
                <th width="150px">${project.proTypeName!""}</th>
                <th width="150px">${project.proDegreeName!""}</th>
                <th width="150px">${project.createrName!""}</th>
                <th width="150px">${project.stime?string('yyyy-MM-dd hh:mm:ss')}</th>
                <th width="75px"><a onclick="passProject(${project.id})">确认完工</a>
                </th>
            </tr>
            </#list>
        </#if>
        </tbody>
    </table>
    <div class="row">
        <div class="page-info" id="table_info">
        <#--第${nowBegin}-${nowEnd}条，共${count}条-->
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
    <#--new page({pageMain:"pagination",nowPage:${page!'1'},count:${count},pageSize:${pageSize!'10'},-->
    <#--url:"/admin/user",params:"?pageSize=${pageSize}&query=${query}",pakey:"page"});-->

    new tablePage(${page} ,${pageSize} ,${count?c}  , "${ctx}/projectManage/projectCompleteUI?", "1=1");
    <#--new  tablePage(${page} ,${pageSize},${count},"${ctx}/homepage/getphotoListDetails?",getParams());-->

    <#--function getParams() {-->
    <#--var projectId = ${projectId};-->
    <#--return "projectId=" +projectId;-->
    <#--}-->

</script>
</html>
